import request from "@/api/request.js";

// 获取收藏列表
export function getCollectList(queryinfo) {
    return request({
        url: "/api/user-video/getCollect/" + queryinfo.userId + "?no=" + queryinfo.no + "&size=" + queryinfo.size,
        method: 'get',
        data: queryinfo,
    })
}

//获取观看历史
export function getHistoryList(params) {
    return request({
        url: "/api/user-video/getHistory/" + params,
        method: "get",

    })
}